package com.haixiaoke.saas.common.constant;

/**
 * 机构常量
 *
 * @Author panda
 * @Date 2024/5/29
 **/
public class TenantConstants {

    /**
     * 不存在上级机构
     */
    public static final String DEP_PARENT_STATE_NO = "0";
    /**
     * 存在上级机构
     */
    public static final String DEP_PARENT_STATE_YES = "1";

    /**
     * 不自动派单
     */
    public static final String ORDER_ALLOCATION_STATE_NO = "0";

    /**
     * 自动派单
     */
    public static final String ORDER_ALLOCATION_STATE_YES = "1";

    /**
     * 是否开启电子签：0否；
     */
    public static final String ELECTRONIC_VISA_STATUS_UN_OPEN = "0";

    /**
     * 是否开启电子签：1是；
     */
    public static final String ELECTRONIC_VISA_STATUS_OPEN = "1";

    /**
     * 电子签类型:1企业
     */
    public static final String ELECTRONIC_VISA_TYPE_ENTERPRISE = "1";

    /**
     * 电子签类型:2个人
     */
    public static final String ELECTRONIC_VISA_TYPE_PERSON = "2";

    /**
     * 记录类型:0增加
     */
    public static final String VISA_RECORD_TYPE_ADD = "0";

    /**
     * 记录类型:1扣减
     */
    public static final String VISA_RECORD_TYPE_SUBTRACT = "1";

    /**
     * 签署进度:1.未签署
     */
    public static final String SIGN_PROGRESS_UNSIGNED = "1";

    /**
     * 签署进度:2.已签署
     */
    public static final String SIGN_PROGRESS_HAVE_SIGNED = "2";

    /**
     * 签署类型:1.甲方
     */
    public static final String SIGN_TYPE_PARTY_A = "1";

    /**
     * 签署类型:2.乙方
     */
    public static final String SIGN_TYPE_PARTY_B = "2";

    /**
     * 合同类型:1,业主合同
     */
    public static final String CONTRACT_TYPE_PROPRIETOR = "1";

    /**
     * 合同类型:2.租客合同
     */
    public static final String CONTRACT_TYPE_LESSEE = "2";

    /**
     * 保洁人员角色id
     */
    public static final Long CLEANER_ROLE_ID = 114L;

    /**
     * 机构状态：0禁用
     */
    public static final String TENANT_STATUS_NO = "0";

    /**
     * 机构状态：1启用
     */
    public static final String TENANT_STATUS_YES = "1";

}
